#ifndef TARGET_FINDING_H
#define TARGET_FINDING_H

#include "ca-pathfinding/states/MazeState.h"
namespace tfr
{
const int NEIGHBOURS_SIZE=13;
const int RULES_SIZE=9;

const State rules[RULES_SIZE][NEIGHBOURS_SIZE+2]={

    {EMPTY,OCCUPIED,ANY,OCCUPIED,ANY,OCCUPIED,ANY,ANY,ANY,OCCUPIED,OCCUPIED,OCCUPIED,OCCUPIED,ANY,OCCUPIED},//NES
    {EMPTY,ANY,ANY,OCCUPIED,ANY,OCCUPIED,ANY,OCCUPIED,ANY,OCCUPIED,ANY,OCCUPIED,OCCUPIED,OCCUPIED,OCCUPIED},//SEW
    {EMPTY,OCCUPIED,ANY,ANY,ANY,OCCUPIED,ANY,OCCUPIED,ANY,OCCUPIED,OCCUPIED,ANY,OCCUPIED,OCCUPIED,OCCUPIED},//NWS
    {EMPTY,OCCUPIED,ANY,OCCUPIED,ANY,ANY,ANY,OCCUPIED,ANY,OCCUPIED,OCCUPIED,OCCUPIED,ANY,OCCUPIED,OCCUPIED},//NEW
    {EMPTY,OCCUPIED,ANY,OCCUPIED,OCCUPIED,EMPTY,EMPTY,EMPTY,ANY,OCCUPIED,ANY,ANY,ANY,OCCUPIED,OCCUPIED},//N-E-SE
    {EMPTY,OCCUPIED,ANY,EMPTY,EMPTY,EMPTY,OCCUPIED,OCCUPIED,ANY,OCCUPIED,ANY,OCCUPIED,ANY,ANY,OCCUPIED},//N-W-SW
    {EMPTY,OCCUPIED,ANY,OCCUPIED,ANY,EMPTY,EMPTY,EMPTY,OCCUPIED,OCCUPIED,ANY,ANY,OCCUPIED,ANY,OCCUPIED},//N-E-NW
    {EMPTY,EMPTY,ANY,OCCUPIED,ANY,OCCUPIED,OCCUPIED,EMPTY,EMPTY,OCCUPIED,ANY,ANY,ANY,OCCUPIED,OCCUPIED},//S-E-SW
    {EMPTY,EMPTY,EMPTY,EMPTY,ANY,OCCUPIED,ANY,OCCUPIED,OCCUPIED,OCCUPIED,ANY,ANY,ANY,ANY,OCCUPIED},//S-W-NW

};

}

#endif // TARGET_FINDING_H
